// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import VueLazyload from 'vue-lazyload'
import axios from 'axios'


Vue.use(VueLazyload)
//console.log(process.env.NODE_ENV)
const baseURL='https://www.easy-mock.com/mock/5acc7b7853654f3b872c9ac0/bilibili'
axios.interceptors.request.use(function(config){
	config.baseURL=baseURL
//	console.log(config)
	return config;
})
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
